import React from 'react'
import './index.less'

export default props => {
  const { title, color, lineColor } = props
  return (
    <div className="sub-title-component-pad">
      <p style={{color: color}}>{title}</p>
      <span style={{background: lineColor}}></span>
    </div>
  )
}
